#include <iostream>
#include <string>
#include "employee.h"

Employee::Employee(int id, string  name, int deptid)
{
	this->id = id;
	this->name = name;
	this->deptId = deptid;
}
Employee::~Employee()
{}
void Employee::showInfo()
{
	cout<<"employee id:"<<this->id<<endl;
	cout<<"employee name:"<<this->name<<endl;
	cout<<"employee deptid:"<<this->getDeptName()<<endl;
	cout<<"employee duty: finish manager send me task"<<endl<<endl;
}
string Employee::getDeptName()
{
	return string("employee");
}
